package ai.people.netmon.facebook.view.service;

import ai.people.netmon.framework.domain.facebook.view.entity.FacebookAccountView;
import ai.people.netmon.framework.domain.facebook.view.request.QueryViewRequest;
import ai.people.netmon.framework.model.response.PageResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 说明
 *
 * @author zhenglin
 * @since 2022/3/18
 */
public interface FacebookAccountViewService extends IService<FacebookAccountView> {
    /**
     * 列表视图
     *
     * @param request 请求
     * @return {@link PageResponse}<{@link FacebookAccountView}>
     */
    PageResponse<FacebookAccountView> listViews(QueryViewRequest request);

    /**
     * 得到视图
     *
     * @param accountName 帐户名称
     * @return {@link FacebookAccountView}
     */
    FacebookAccountView getView(String accountName);

}
